package com.yourbatis.syntax;

public class ExpressionStatement implements Statement {
    private final Expression expr;

    public ExpressionStatement(Expression expr) {
        this.expr = expr;
    }

    @Override
    public Object execute() {
        return expr.eval();
    } // 计算但不输出


}
